Move the `get_package` step later when calculating deps
authorAlex Crichton <alex@alexcrichton.com>
Fri, 19 Feb 2016 21:16:14 +0000 (13:16 -0800)
committerAlex Crichton <alex@alexcrichton.com>
Fri, 19 Feb 2016 21:16:14 +0000 (13:16 -0800)
commitdc5671d3456a376813c09edab0464ec600f06794
treee6586e37980b257a6569d9101cb5f6bb3a4f754f
parent919cddeb5b1f5447399052a386501e80001d4a46
Move the `get_package` step later when calculating deps

Future calls to `get_package` may end up actually downloading a package, so we
want to defer this as late as possible to ensure that we don't download
anything.
src/cargo/ops/cargo_rustc/context.rs